package com.chinacoal.hr.levelapi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author: YunTao.Li
 * @create: 2019-12-12 17:10
 * @description:
 **/
@Data
public class ApprovalHistoryEntity {
    public static final long serialVersionUID = 1L;

    public String taskHisId;

    public Long taskId;

    public Long processId;

    public Long instanceId;

    public String taskTitle;

    public Long activityInsId;

    public String activityId;

    public String activityName;

    public Long activityUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    public Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    public Date endDate;

    public String taskDesc;

    public String approvalOpinion;

    public String opcode;

    public String opcodeName;

    public Long submitUser;

    public String taskUrl;

    public String submitUserName;

    public String activityUserName;

    public String toString() {
        return "ApprovalHistoryEntity(taskHisId=" + getTaskHisId() + ", taskId=" + getTaskId() + ", processId=" + getProcessId() + ", instanceId=" + getInstanceId() + ", taskTitle=" + getTaskTitle() + ", activityInsId=" + getActivityInsId() + ", activityId=" + getActivityId() + ", activityName=" + getActivityName() + ", activityUser=" + getActivityUser() + ", startDate=" + getStartDate() + ", endDate=" + getEndDate() + ", taskDesc=" + getTaskDesc() + ", approvalOpinion=" + getApprovalOpinion() + ", opcode=" + getOpcode() + ", opcodeName=" + getOpcodeName() + ", submitUser=" + getSubmitUser() + ", taskUrl=" + getTaskUrl() + ", submitUserName=" + getSubmitUserName() + ", activityUserName=" + getActivityUserName() + ")";
    }
}
